package org.dtrd.modules.content.articles.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * @author 萧
 * @date:2021-08-26 9:14 上午
 **/
@ApiModel(value = "文章信息")
@Data
public class ArticleInfo {

    /**
     * 文章ID
     */
    @ApiModelProperty(value = "文章ID")
    private Integer contentId;

    /**
     * 栏目ID
     */
    @ApiModelProperty(value = "文章栏目ID")
    private Integer classId;

    @ApiModelProperty(value = "文章栏目名称", notes = "仅查询时返回使用")
    private String className;

    @ApiModelProperty(value = "置顶 1置顶 2 不置顶")
    private Integer topMark;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 关键词
     */
    @ApiModelProperty(value = "文章关键字")
    private String keywords;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Integer time;

    /**
     * 封面图
     */
    @ApiModelProperty(value = "封面图")
    private String image;

    /**
     * 跳转
     */
    @ApiModelProperty(value = "跳转")
    private String url;

    /**
     * 浏览数
     */
    @ApiModelProperty(value = "浏览量")
    private Integer views;
    /**
     * 浏览数
     */
    @ApiModelProperty(value = "自定义浏览量")
    private Integer customViews;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "音频")
    private String audio;

    @ApiModelProperty(value = "视频")
    private String video;

    @ApiModelProperty(value = "排序")
    private Integer sequence;

    @ApiModelProperty(value = "状态 1 正常 2 下架")
    private Integer status;

    @ApiModelProperty(value = "文章类型 1图文 2 音频 3 视频")
    private Integer courseType;

}
